OBJS = fifo_test.o 

ARCH ?=  
#ARCH ?= arm-hismall-linux-
CC = $(ARCH)gcc

INC_DIR +=.
SRC_DIR +=.

INSTALL_PATH=
TARGET=fifo_test
CFLAGS= -Wall -g 

$(TARGET): $(OBJS)
	$(CC) $(OBJS) -o $@ $(CFLAGS)
#	cp -f $(TARGET) $(INSTALL_PATH)

$(SRC_DIR)/%.o: $(SRC_DIR)/%.c
	$(CC) -c $< -o $@ $(CFLAGS)

clean:
	rm *.o $(TARGET)
